#ifndef CRECEIVER_H
#define CRECEIVER_H

#include "astar/TIReceiver.h"
#include "astar/typedef.h"
#include <vector>

class CReceiver : public TIReceiver<key>
{
public:
   CReceiver();
   virtual ~CReceiver();

   virtual bool add(const key & data);

   const std::vector<key> & getData() const;

   void clear();

private:
   std::vector<key> mData;
};

#endif//CRECEIVER_H